﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;
using CNVP.Framework;
using CNVP.Config;
using CNVP.Framework.Utils;

namespace CNVP.JShop.UI
{
    public class LicensePage : System.Web.UI.Page
    {
        public static string InstallDir = UIConfig.InstallDir;
        public static string AdminDir = UIConfig.AdminDir;
        public static string SiteAdmin = UIConfig.SiteAdmin;

        public static int AdminID;
        public static int RoleID;
        public static string AdminName;
        public static string AdminTrueName;
        public static string GroupID;
        public static bool SuperAdmin;

        protected void Page_PreInit(object sender, EventArgs e)
        {
            /*if (!License.AllowHost())
            {
                MessageUtils.ShowRedirect("拒绝访问，该域名未在授权范围。", InstallDir + AdminDir + "/License.aspx");
            }*/
            if (false)
            {
                //MessageUtils.ShowRedirect("拒绝访问，该域名未在授权范围。", InstallDir + AdminDir + "/License.aspx");
            }
        }
    }
}
